package me.boot.gen.table.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import me.boot.gen.table.annotation.ColumnComment;
import me.boot.gen.table.annotation.Index;
import me.boot.gen.table.annotation.Unique;


@Getter
@Setter
@TableName
public class SysUser extends BaseEntity {

    @TableField
    @Index
    @ColumnComment("姓名")
    private String name;

    @TableField
    @Unique
    @ColumnComment("手机")
    private String phone;

    @TableField
    @ColumnComment("部门编码")
    private Long deptId;

}